({
    appDir: './',   //项目根目录
    dir: './dist',  //输出目录，全部文件打包后要放入的文件夹（如果没有会自动新建的）

    baseUrl: './js/pages/entries',   //相对于appDir，代表要查找js文件的起始文件夹，下文所有文件路径的定义都是基于这个baseUrl的

    modules: [					  //要优化的模块
        {name: 'login'},	//说白了就是各页面的入口文件，相对baseUrl的路径，也是省略后缀“.js”
        {name: 'index'},
        {name: 'goodsQueryEntries'}
    ],

    fileExclusionRegExp: /^(r|build)\.js|.*\.scss$/,	//过滤，匹配到的文件将不会被输出到输出目录去

    optimizeCss: 'standard',

    removeCombined: true,   //如果为true，将从输出目录中删除已合并的文件

    paths: {	//相对baseUrl的路径
        avalon: '../../common/avalon',
        mmRouter: '../../common/mmRouter',
        jquery: '../../common/jquery.min',
        es5_sham: '../../common/es5-sham.min',
        Layer: '../../common/layer/layer',
        text: '../../common/text',
        polyfill: '../utils/IEPolyfill',
        es6_promise: '../../common/fetch/es6-promise.min',
        fetch_detector: '../../common/fetch/fetch-detector',
        fetch: '../../common/fetch/fetch',
        js_cookie: '../../common/js.cookie',
        xFetch: '../services/xFetch',
        layPage: '../../common/laypage/laypage',
        tools: '../utils/tools',
        indexApi: '../services/indexApi',
        rootPath: '../utils/rootPath',
        BillList: '../index/bill/BillList',
        laydate: '../../common/laydate/laydate',
        billListApi: '../services/billListApi',
        newBillApi: '../services/newBillApi',
        Condition: '../model/Condition',
        Conditions: '../model/Conditions',
        conditionsUtils: '../model/conditionsUtils',
        NewBill: '../index/bill/NewBill',
        GoodsSelectDialog: '../components/bill/GoodsSelectDialog',
        depsSelectDialog: '../components/bill/depsSelectDialog',
        batchDialog: '../components/bill/batchDialog',
        batchInfoDialog: '../components/bill/batchInfoDialog',
        GoodsQuery: '../index/bill/GoodsQuery',
        getApiConfig: '../index/bill/utils/getApiConfig',
        getVmConfig: '../index/bill/utils/getVmConfig',
        CommonBill: '../model/CommonBill',
        BillDetailDialog: '../components/bill/BillDetailDialog',
        stockSearch: '../index/report/stockSearch',
        stockSearchApi: '../services/stockSearchApi',
        chooseCondition: '../components/report/chooseCondition',
        booksApplyAnalyze: '../index/report/booksApplyAnalyze',
        booksApplyAnalyzeApi: '../services/booksApplyAnalyzeApi',
        cardManagerApi: '../services/cardManagerApi',
        CardManager: '../index/cardManager/CardManager',
        tableFixed: '../components/common/tableFixed',
        MoreSelectDialog: '../components/common/MoreSelectDialog',
        selectDialogApi: '../services/selectDialogApi',
        CardDetailInfo: '../components/cardManager/CardDetailInfo',
        CardBasic: '../model/CardBasic',
        RTStoreQuery: '../index/report/RTStoreQuery',
        rtstoreQueryApi: '../services/rtstoreQueryApi',
        RadioSelectDialog: '../components/common/RadioSelectDialog',
        buildBillInfo: '../index/bill/utils/buildBillInfo',
        ChangePassword: '../components/common/ChangePassword',
        bus: '../actions/bus',
        billListActions: '../actions/billList',
        AccountQuery: '../components/common/AccountQuery',
        accountQueryActions: '../actions/accountQuery',
        loginApi: '../services/loginApi'
    },

    shim: {
        jquery: ['avalon'],
        polyfill: ['avalon'],
        mmRouter: ['avalon'],
        es5_sham: ['jquery'],
        Layer: ['jquery'],
        loginApi: ['polyfill'],
        layPage: ['jquery'],
        fetch_detector: ['es6_promise'],
        fetch: ['fetch_detector'],
        xFetch: ['polyfill'],
        laydate: ['jquery'],
        billListActions: ['bus'],
        accountQueryActions: ['bus']
    }
})